package io.qar.restaurants.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.util.Date;

import io.qar.commons.mybatis.entity.ZyDateAtBaseEntity;

/**
 * 餐厅信息表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 3.0 2024-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("zy_restaurants")
public class RestaurantsEntity extends ZyDateAtBaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 餐厅ID
     */
    @TableId(value = "restaurant_id", type = IdType.ASSIGN_ID)
    private Long restaurantId;
    /**
     * 餐厅名称
     */
    private String name;
    /**
     * 餐厅描述
     */
    private String description;
    /**
     * 纬度
     */
    private BigDecimal latitude;
    /**
     * 经度
     */
    private BigDecimal longitude;
    /**
     * 餐厅地址
     */
    private String address;
    /**
     * 营业时间
     */
    private String operatingHours;
    /**
     * 餐厅评分
     */
    private BigDecimal rating;
    /**
     * 创建时间
     */
    private Date createdAt;
    /**
     * 更新时间
     */
    private Date updatedAt;
}